﻿@model Model.AppUserList
@{
    ViewBag.Title = "区域发货口管理";
    Layout = "~/Views/Shared/_JQBaseLayOut.cshtml";
}
@section JQscriptSection{
    <script src="../../Scripts/viewsScript/AreaPort/AreaPortC.js" type="text/javascript"></script>
    <script src="../../Scripts/viewsScript/Common/MyDialog.js" type="text/javascript"></script>
    <script src="../../Scripts/jqueryeasyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    
    }

<body style="background-color: ButtonFace; font-size: 17px" onload="InitGrid();">
    <div class="easyui-panel" title="查询条件" style="height: 70px; padding: 5px; background: #fafafa;">
        <form id="query" method="post">
            <table>
                <tr>
                    <td>所属区域:
                    </td>
                    <td>
                        <select id="AreaID" class="easyui-combogrid" name="AreaID" style="width: 185px;" aria-valuenow="0"
                            data-options="
                        idField:'fieldvalue',
                        textField:'lookup',
                        url:'@Url.Content("/AreaPort/AreaList?IsSetAll=0")',
                        columns:[[
                            {field:'fieldvalue',title:'编码',width:60},
                            {field:'lookup',title:'名称',width:100}
                        ]]
                    ">
                        </select>
                    </td>
                    <td>发货口:
                    </td>
                    <td>
                        <select id="PortID" class="easyui-combogrid" name="PortID" style="width: 185px;"
                            data-options="
                        idField:'fieldvalue',
                        textField:'lookup',
                        url:'@Url.Content("/AreaPort/SendPortList?IsSetAll=0")',
                        columns:[[
                            {field:'fieldvalue',title:'编码',width:60},
                            {field:'lookup',title:'名称',width:100}
                        ]]
                    ">
                        </select>
                    </td>
                    <td>
                        <a id="btnSerach" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="InitGrid()">确定</a>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <div>
        <table id="tab_list">
        </table>
    </div>
    <div id="p1" class="easyui-dialog" style="width: 650px; height: 340px; padding: 10px 20px"; closed="true" buttons="#dlg-buttons">
        <form id="areaportID" method="post">
            <table>
                <tr>
                    <td>所属大区:
                    </td>
                    <td>
                        <input id="hiddenAREAPORTID" name="hiddenAREAPORTID" type="hidden" />
                        <select id="AreaID1" class="easyui-combogrid" name="AreaID1" style="width: 185px;"
                            data-options="
                        idField:'fieldvalue',
                        textField:'lookup',
                        url:'@Url.Content("/AreaPort/AreaList?IsSetAll=1")',
                        columns:[[
                            {field:'fieldvalue',title:'编码',width:60},
                            {field:'lookup',title:'名称',width:100}
                        ]]
                    ">
                        </select>
                    </td>
                    <td>发货口:
                    </td>
                    <td colspan="2">
                        <select id="PortID1" class="easyui-combogrid" name="PortID1" style="width: 185px;"
                            data-options="
                        idField:'fieldvalue',
                        textField:'lookup',
                        url:'@Url.Content("/AreaPort/SendPortList?IsSetAll=1")',
                        columns:[[
                            {field:'fieldvalue',title:'编码',width:60},
                            {field:'lookup',title:'名称',width:100}
                        ]]
                    ">
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>备注:
                    </td>
                    <td colspan="4">
                        <input id="txtRemark" name="txtRemark" maxlength="255" style="width: 520px" />
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <a id="btnSave" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'" onclick="save()">保存</a>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>